<th valign="top">
<select name="access" id="access" size="15" style="width:150px;height:200px;" class="field">
<foreach for=arrAccessList>
<option value="{$value['node_id']}">{$value['node_name']}</option>
</foreach>
</select>
</th>
<td>
<input type="hidden" name="node_level" id="node_level" value="{$nNodeLevel}">
<input type="hidden" name="node_parentid" id="node_parentid" value="0">
<input type="button" value="<lang>确 定</lang>" onclick="ok()" class="button button-blue" /><br>
<input type="button" value="<lang>取 消</lang>" onclick="ok(false)" class="button button-green" />
</td>
{script}
<!--
function ok(val){

	if(val!=false){

		var oObj = document.getElementById('access');
		oOptionObj = oObj.getElementsByTagName('option');
		var nJ=0;
		for(var nI=0;nI<oOptionObj.length;nI++){

			if (oOptionObj[nI].selected==true){

				$('#node_name').val(oOptionObj[nI].text+'@');
				$('#node_parentid').val(oOptionObj[nI].value);
				nJ++;
			}
		}
	}

	$("#ajaxSelect").css('display','none');
}

//-->
{/script}